
//数据
#define Data_0 PIN_PD0
#define Data_1 PIN_PD1
#define Data_2 PIN_PD2
#define Data_3 PIN_PD3
#define Data_4 PIN_PD4
#define Data_5 PIN_PD5
#define Data_6 PIN_PD6
#define Data_7 PIN_PD7

//29芯片32pin
#define chip_CE PIN_PE3
#define chip_OE PIN_PE2

#define chip29WE PIN_PB7

//29地址线
#define Add_0    PIN_PA0
#define Add_1    PIN_PA1
#define Add_2    PIN_PA2
#define Add_3    PIN_PA3
#define Add_4    PIN_PA4
#define Add_5    PIN_PA5
#define Add_6    PIN_PA6
#define Add_7    PIN_PA7
#define Add_8    PIN_PC0
#define Add_9    PIN_PC1
#define Add_10   PIN_PC2
#define Add_11   PIN_PC3
#define Add_12   PIN_PC4
#define Add_13   PIN_PC5

#define A29_14   PIN_PC6
#define A29_15   PIN_PC7
#define A29_16   PIN_PB4
#define A29_17   PIN_PB5
#define A29_18   PIN_PB6

//27-24脚
#define VCC_24PIN PIN_PC5

//27-28P
//27是A14 28是WE
#define A27_14   PIN_PC6
//27c512是 A15 其他芯片是 VPP高压编程
#define A27_15   PIN_PC7
//#define A27_28P_PGM   PIN_PC7

//27-32P
#define A27_32P_14   PIN_PC6
#define A27_32P_15   PIN_PC7
#define A27_32P_16   PIN_PB4
#define A27_32P_17   PIN_PB5
#define A27_32P_18   PIN_PB7
#define A27_32P_19   PIN_PB6


//28
#define A28_14   PIN_PC7
#define chip28WE PIN_PC6
//28芯片VCC
#define VCC_28PIN PIN_PB5

//2816
#define C2816_WE  PIN_PC3
#define VCC_24PIN PIN_PC5


//29的A17 28的VCC
#define LED PIN_PB5
